package com.AAA.entity.sds;

import java.io.Serializable;

import com.AAA.entity.User;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Id;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;
@Table(name = "t_sds_plane")
@Data
@NoArgsConstructor
@AllArgsConstructor
//@ApiModel(value = "TSdsPlane)", description = "")
public class TSdsPlane implements Serializable {
private static final long serialVersionUID = -51911826644218536L;
@Id
@Column(name = "id")
private Integer id;
@Column(name = "planename")
//@ApiModelProperty(value = "计划名")
 private String planename;

@Column(name = "questions")
//@ApiModelProperty(value = "题目类型")
 private String questions;

@Column(name = "begintime")
@DateTimeFormat(pattern = "yyyy-MM-dd")
//@ApiModelProperty(value = "开始时间")
 private Date begintime;

@Column(name = "endtime")
@DateTimeFormat(pattern = "yyyy-MM-dd")
//@ApiModelProperty(value = "结束时间")
 private Date endtime;

@Column(name = "code")
//@ApiModelProperty(value = "邀请码")
 private String code;

@Column(name = "uid")
//@ApiModelProperty(value = "创建人id")
 private Integer uid;

@Column(name = "createtime")
@DateTimeFormat(pattern = "yyyy-MM-dd")
//@ApiModelProperty(value = "创建时间")
 private Date createtime;

@Column(name = "updatetime")
@DateTimeFormat(pattern = "yyyy-MM-dd")
//@ApiModelProperty(value = "修改时间")
 private Date updatetime;

@Column(name = "status")
//@ApiModelProperty(value = "状态")
 private Integer status;

 // 创建人
 @Transient
 private User user = new User();

}

